From: kfraser@localhost.localdomain Date: Tue, 17 Oct 2006 16:29:19 +0000 (+0100) Subject: [SOLARIS] On sysv platforms, gas defaults '/' to a comment X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15589^2~78 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22?a=commitdiff_plain;h=a36c8be096210ffb6e81b8ffdc7cad8ffad747d2;p=xen.git [SOLARIS] On sysv platforms, gas defaults '/' to a comment character. Pass in the right option to disable this behaviour, so Xen's semantics of "divide" apply. Signed-off-by: John Levon --- diff --git a/config/SunOS.mk b/config/SunOS.mk index e309138342..d18ad14bd9 100644 --- a/config/SunOS.mk +++ b/config/SunOS.mk @@ -32,3 +32,5 @@ else # Less than -O1 produces bad code and large stack frames CFLAGS ?= -O1 -fno-omit-frame-pointer endif + +CFLAGS += -Wa,--divide